package com.snl.micro.blog.user.dao.repository;

import com.snl.micro.blog.common.protocol.ResponseResult;
import com.snl.micro.blog.common.query.LoginParam;
import com.snl.micro.blog.common.query.UserQuery;
import com.snl.micro.blog.user.pojo.po.UserInfoPo;
import com.snl.micro.blog.user.pojo.vo.UserVo;

import java.util.List;

public interface UserRepository {

    void saveUser(UserInfoPo po);

    void deleteUser(Integer userId);

    UserInfoPo login(LoginParam param);

    List<UserInfoPo> query(UserQuery query);

    void subscrible(Long followerId, Long followingId);

    void unsubscrible(Long followerId, Long followingId);
}
